package xyz.fuqufyb.aec.fallback;

import org.springframework.stereotype.Component;
import xyz.fuqufyb.aec.feign.CacheFeign;

import java.util.Map;
import java.util.Set;

/**
 * @author fyb
 * @version 1.0
 * @date 2021/3/13 11:26
 */
@Component
public class CacheFeignFallback implements CacheFeign {
    @Override
    public boolean save2Redis(String key, String value, long expireTime) {
        return false;
    }

    @Override
    public String getFromRedis(String key) {
        return null;
    }

    @Override
    public boolean expire(String key, long expireTime) {
        return false;
    }

    @Override
    public boolean deleteKey(String key) {
        return false;
    }

    @Override
    public Long getAutoIncrementId(String key) {
        return null;
    }

    @Override
    public Set<Object> sMembers(String key) {
        return null;
    }

    @Override
    public Long sAdd(String key, String value) {
        return null;
    }

    @Override
    public Long sAdds(String key, String[] values) {
        return null;
    }

    @Override
    public Long sRemove(String key, String value) {
        return null;
    }

    @Override
    public void hSet(String key, String filed, String value) {

    }

    @Override
    public String hGet(String key, String filed) {
        return null;
    }

    @Override
    public Map<Object, Object> hGetAll(String key) {
        return null;
    }

    @Override
    public boolean setNX(String key, String value, long expireSecond) {
        return false;
    }

    @Override
    public boolean hMset(String key, Map<String, Object> map) {
        return false;
    }

    @Override
    public Set<String> selectByPattern(String pattern) {
        return null;
    }

    @Override
    public Long hIncrement(String key, String field, long delta) {
        return null;
    }

    @Override
    public boolean hMset(String key, Object value) {
        return false;
    }
}
